sana bi kod vereceğim expandlistin üstünde bulunacak tüm componentleri o layouta bas ve kendininkine uyarla.
[code]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#f6f6f6"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/top_control_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/border_bottom" >
<ImageView
android:id="@+id/profileImage"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:src="@drawable/user" />
<TextView
android:id="@+id/profilUsername"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:textStyle="bold"
android:layout_toRightOf="@+id/profileImage"
android:textColor="@color/white" />
<TextView
android:id="@+id/profileLocation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/profilUsername"
android:layout_marginLeft="5dp"
android:layout_marginTop="18dp"
android:layout_toRightOf="@+id/profileImage"
android:textColor="@color/white1" />
<Spinner
android:id="@+id/presenceList"
android:layout_width="150dp"
android:layout_height="30dp"
android:layout_below="@+id/profileLocation"
android:layout_toRightOf="@+id/profileImage"
android:background="@android:color/transparent"
android:dropDownHorizontalOffset="50dp"
android:dropDownWidth="wrap_content"
android:entries="@array/presences"
android:popupBackground="#007bc1"
android:prompt="@string/presence_title"
android:spinnerMode="dropdown"
android:textAlignment="center"
android:textDirection="locale" />
</RelativeLayout>
<ExpandableListView
android:id="@+id/ExpList"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_below="@id/top_control_bar"
android:layout_marginTop="2dp"
android:choiceMode="multipleChoice"
android:divider="@null"
android:dividerHeight="10dp"
android:groupIndicator="@drawable/groupindicator" />
</RelativeLayout>
[/code]